<?php
	/**
	 * This is a MetaControl class, providing a QForm or QPanel access to event handlers
	 * and QControls to perform the Create, Edit, and Delete functionality
	 * of the TableUserProfile class.  This code-generated class
	 * contains all the basic elements to help a QPanel or QForm display an HTML form that can
	 * manipulate a single TableUserProfile object.
	 *
	 * To take advantage of some (or all) of these control objects, you
	 * must create a new QForm or QPanel which instantiates a TableUserProfileMetaControl
	 * class.
	 *
	 * Any and all changes to this file will be overwritten with any subsequent
	 * code re-generation.
	 * 
	 * @package My Application
	 * @subpackage MetaControls
	 * property-read TableUserProfile $TableUserProfile the actual TableUserProfile data class being edited
	 * property QLabel $IdControl
	 * property-read QLabel $IdLabel
	 * property QListBox $UserIdControl
	 * property-read QLabel $UserIdLabel
	 * property QTextBox $CompanyUserControl
	 * property-read QLabel $CompanyUserLabel
	 * property QTextBox $CatchPhraseControl
	 * property-read QLabel $CatchPhraseLabel
	 * property QTextBox $LanguageDescriptionControl
	 * property-read QLabel $LanguageDescriptionLabel
	 * property QTextBox $KeywordDescriptionControl
	 * property-read QLabel $KeywordDescriptionLabel
	 * property QTextBox $MessageControl
	 * property-read QLabel $MessageLabel
	 * property QTextBox $LocationControl
	 * property-read QLabel $LocationLabel
	 * property QIntegerTextBox $CustomerCountControl
	 * property-read QLabel $CustomerCountLabel
	 * property QIntegerTextBox $RepeaterCountControl
	 * property-read QLabel $RepeaterCountLabel
	 * property QIntegerTextBox $WonProjectCountControl
	 * property-read QLabel $WonProjectCountLabel
	 * property QIntegerTextBox $CompletedWonProjectCountControl
	 * property-read QLabel $CompletedWonProjectCountLabel
	 * property QIntegerTextBox $FailedWonProjectCountControl
	 * property-read QLabel $FailedWonProjectCountLabel
	 * property QIntegerTextBox $PostProjectCountControl
	 * property-read QLabel $PostProjectCountLabel
	 * property QIntegerTextBox $CompletedPostProjectCountControl
	 * property-read QLabel $CompletedPostProjectCountLabel
	 * property QIntegerTextBox $FailedPostProjectCountControl
	 * property-read QLabel $FailedPostProjectCountLabel
	 * property QIntegerTextBox $BidProjectCountControl
	 * property-read QLabel $BidProjectCountLabel
	 * property QIntegerTextBox $BidProjectCountThisMonthControl
	 * property-read QLabel $BidProjectCountThisMonthLabel
	 * property QIntegerTextBox $WonProjectReviewCountControl
	 * property-read QLabel $WonProjectReviewCountLabel
	 * property QIntegerTextBox $WonProjectPositiveReviewCountControl
	 * property-read QLabel $WonProjectPositiveReviewCountLabel
	 * property QIntegerTextBox $WonProjectNeutralReviewCountControl
	 * property-read QLabel $WonProjectNeutralReviewCountLabel
	 * property QIntegerTextBox $WonProjectNegativeReviewCountControl
	 * property-read QLabel $WonProjectNegativeReviewCountLabel
	 * property QIntegerTextBox $PostProjectReviewCountControl
	 * property-read QLabel $PostProjectReviewCountLabel
	 * property QIntegerTextBox $PostProjectPositiveReviewCountControl
	 * property-read QLabel $PostProjectPositiveReviewCountLabel
	 * property QIntegerTextBox $PostProjectNeutralReviewCountControl
	 * property-read QLabel $PostProjectNeutralReviewCountLabel
	 * property QIntegerTextBox $PostProjectNegativeReviewCountControl
	 * property-read QLabel $PostProjectNegativeReviewCountLabel
	 * property QIntegerTextBox $SuspendCountControl
	 * property-read QLabel $SuspendCountLabel
	 * property QTextBox $PaypalEmailControl
	 * property-read QLabel $PaypalEmailLabel
	 * property QTextBox $LimitedIpControl
	 * property-read QLabel $LimitedIpLabel
	 * property QDateTimePicker $UpdateDateControl
	 * property-read QLabel $UpdateDateLabel
	 * property QTextBox $VisionControl
	 * property-read QLabel $VisionLabel
	 * property QTextBox $AreaOfExpertiseControl
	 * property-read QLabel $AreaOfExpertiseLabel
	 * property QFloatTextBox $CompletionRatioControl
	 * property-read QLabel $CompletionRatioLabel
	 * property QFloatTextBox $BudgetPaidRatioControl
	 * property-read QLabel $BudgetPaidRatioLabel
	 * property QIntegerTextBox $PaginationNumberControl
	 * property-read QLabel $PaginationNumberLabel
	 * property QIntegerTextBox $LandingPageControl
	 * property-read QLabel $LandingPageLabel
	 * property-read string $TitleVerb a verb indicating whether or not this is being edited or created
	 * property-read boolean $EditMode a boolean indicating whether or not this is being edited or created
	 */

	class TableUserProfileMetaControlGen extends QBaseClass {
		// General Variables
		protected $objTableUserProfile;
		protected $objParentObject;
		protected $strTitleVerb;
		protected $blnEditMode;

		// Controls that allow the editing of TableUserProfile's individual data fields
		protected $lblId;
		protected $lstUser;
		protected $txtCompanyUser;
		protected $txtCatchPhrase;
		protected $txtLanguageDescription;
		protected $txtKeywordDescription;
		protected $txtMessage;
		protected $txtLocation;
		protected $txtCustomerCount;
		protected $txtRepeaterCount;
		protected $txtWonProjectCount;
		protected $txtCompletedWonProjectCount;
		protected $txtFailedWonProjectCount;
		protected $txtPostProjectCount;
		protected $txtCompletedPostProjectCount;
		protected $txtFailedPostProjectCount;
		protected $txtBidProjectCount;
		protected $txtBidProjectCountThisMonth;
		protected $txtWonProjectReviewCount;
		protected $txtWonProjectPositiveReviewCount;
		protected $txtWonProjectNeutralReviewCount;
		protected $txtWonProjectNegativeReviewCount;
		protected $txtPostProjectReviewCount;
		protected $txtPostProjectPositiveReviewCount;
		protected $txtPostProjectNeutralReviewCount;
		protected $txtPostProjectNegativeReviewCount;
		protected $txtSuspendCount;
		protected $txtPaypalEmail;
		protected $txtLimitedIp;
		protected $calUpdateDate;
		protected $txtVision;
		protected $txtAreaOfExpertise;
		protected $txtCompletionRatio;
		protected $txtBudgetPaidRatio;
		protected $txtPaginationNumber;
		protected $txtLandingPage;

		// Controls that allow the viewing of TableUserProfile's individual data fields
		protected $lblUserId;
		protected $lblCompanyUser;
		protected $lblCatchPhrase;
		protected $lblLanguageDescription;
		protected $lblKeywordDescription;
		protected $lblMessage;
		protected $lblLocation;
		protected $lblCustomerCount;
		protected $lblRepeaterCount;
		protected $lblWonProjectCount;
		protected $lblCompletedWonProjectCount;
		protected $lblFailedWonProjectCount;
		protected $lblPostProjectCount;
		protected $lblCompletedPostProjectCount;
		protected $lblFailedPostProjectCount;
		protected $lblBidProjectCount;
		protected $lblBidProjectCountThisMonth;
		protected $lblWonProjectReviewCount;
		protected $lblWonProjectPositiveReviewCount;
		protected $lblWonProjectNeutralReviewCount;
		protected $lblWonProjectNegativeReviewCount;
		protected $lblPostProjectReviewCount;
		protected $lblPostProjectPositiveReviewCount;
		protected $lblPostProjectNeutralReviewCount;
		protected $lblPostProjectNegativeReviewCount;
		protected $lblSuspendCount;
		protected $lblPaypalEmail;
		protected $lblLimitedIp;
		protected $lblUpdateDate;
		protected $lblVision;
		protected $lblAreaOfExpertise;
		protected $lblCompletionRatio;
		protected $lblBudgetPaidRatio;
		protected $lblPaginationNumber;
		protected $lblLandingPage;

		// QListBox Controls (if applicable) to edit Unique ReverseReferences and ManyToMany References

		// QLabel Controls (if applicable) to view Unique ReverseReferences and ManyToMany References


		/**
		 * Main constructor.  Constructor OR static create methods are designed to be called in either
		 * a parent QPanel or the main QForm when wanting to create a
		 * TableUserProfileMetaControl to edit a single TableUserProfile object within the
		 * QPanel or QForm.
		 *
		 * This constructor takes in a single TableUserProfile object, while any of the static
		 * create methods below can be used to construct based off of individual PK ID(s).
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableUserProfileMetaControl
		 * @param TableUserProfile $objTableUserProfile new or existing TableUserProfile object
		 */
		 public function __construct($objParentObject, TableUserProfile $objTableUserProfile) {
			// Setup Parent Object (e.g. QForm or QPanel which will be using this TableUserProfileMetaControl)
			$this->objParentObject = $objParentObject;

			// Setup linked TableUserProfile object
			$this->objTableUserProfile = $objTableUserProfile;

			// Figure out if we're Editing or Creating New
			if ($this->objTableUserProfile->__Restored) {
				$this->strTitleVerb = QApplication::Translate('Edit');
				$this->blnEditMode = true;
			} else {
				$this->strTitleVerb = QApplication::Translate('Create');
				$this->blnEditMode = false;
			}
		 }

		/**
		 * Static Helper Method to Create using PK arguments
		 * You must pass in the PK arguments on an object to load, or leave it blank to create a new one.
		 * If you want to load via QueryString or PathInfo, use the CreateFromQueryString or CreateFromPathInfo
		 * static helper methods.  Finally, specify a CreateType to define whether or not we are only allowed to 
		 * edit, or if we are also allowed to create a new one, etc.
		 * 
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableUserProfileMetaControl
		 * @param integer $intId primary key value
		 * @param QMetaControlCreateType $intCreateType rules governing TableUserProfile object creation - defaults to CreateOrEdit
 		 * @return TableUserProfileMetaControl
		 */
		public static function Create($objParentObject, $intId = null, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			// Attempt to Load from PK Arguments
			if (strlen($intId)) {
				$objTableUserProfile = TableUserProfile::Load($intId);

				// TableUserProfile was found -- return it!
				if ($objTableUserProfile)
					return new TableUserProfileMetaControl($objParentObject, $objTableUserProfile);

				// If CreateOnRecordNotFound not specified, throw an exception
				else if ($intCreateType != QMetaControlCreateType::CreateOnRecordNotFound)
					throw new QCallerException('Could not find a TableUserProfile object with PK arguments: ' . $intId);

			// If EditOnly is specified, throw an exception
			} else if ($intCreateType == QMetaControlCreateType::EditOnly)
				throw new QCallerException('No PK arguments specified');

			// If we are here, then we need to create a new record
			return new TableUserProfileMetaControl($objParentObject, new TableUserProfile());
		}

		/**
		 * Static Helper Method to Create using PathInfo arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableUserProfileMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing TableUserProfile object creation - defaults to CreateOrEdit
		 * @return TableUserProfileMetaControl
		 */
		public static function CreateFromPathInfo($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::PathInfo(0);
			return TableUserProfileMetaControl::Create($objParentObject, $intId, $intCreateType);
		}

		/**
		 * Static Helper Method to Create using QueryString arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableUserProfileMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing TableUserProfile object creation - defaults to CreateOrEdit
		 * @return TableUserProfileMetaControl
		 */
		public static function CreateFromQueryString($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::QueryString('intId');
			return TableUserProfileMetaControl::Create($objParentObject, $intId, $intCreateType);
		}



		///////////////////////////////////////////////
		// PUBLIC CREATE and REFRESH METHODS
		///////////////////////////////////////////////

		/**
		 * Create and setup QLabel lblId
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblId_Create($strControlId = null) {
			$this->lblId = new QLabel($this->objParentObject, $strControlId);
			$this->lblId->Name = QApplication::Translate('Id');
			if ($this->blnEditMode)
				$this->lblId->Text = $this->objTableUserProfile->Id;
			else
				$this->lblId->Text = 'N/A';
			return $this->lblId;
		}

		/**
		 * Create and setup QListBox lstUser
		 * @param string $strControlId optional ControlId to use
		 * @return QListBox
		 */
		public function lstUser_Create($strControlId = null) {
			$this->lstUser = new QListBox($this->objParentObject, $strControlId);
			$this->lstUser->Name = QApplication::Translate('User');
			$this->lstUser->Required = true;
			if (!$this->blnEditMode)
				$this->lstUser->AddItem(QApplication::Translate('- Select One -'), null);
			$objUserArray = TableUserProject::LoadAll();
			if ($objUserArray) foreach ($objUserArray as $objUser) {
				$objListItem = new QListItem($objUser->__toString(), $objUser->Id);
				if (($this->objTableUserProfile->User) && ($this->objTableUserProfile->User->Id == $objUser->Id))
					$objListItem->Selected = true;
				$this->lstUser->AddItem($objListItem);
			}
			return $this->lstUser;
		}

		/**
		 * Create and setup QLabel lblUserId
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblUserId_Create($strControlId = null) {
			$this->lblUserId = new QLabel($this->objParentObject, $strControlId);
			$this->lblUserId->Name = QApplication::Translate('User');
			$this->lblUserId->Text = ($this->objTableUserProfile->User) ? $this->objTableUserProfile->User->__toString() : null;
			$this->lblUserId->Required = true;
			return $this->lblUserId;
		}

		/**
		 * Create and setup QTextBox txtCompanyUser
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtCompanyUser_Create($strControlId = null) {
			$this->txtCompanyUser = new QTextBox($this->objParentObject, $strControlId);
			$this->txtCompanyUser->Name = QApplication::Translate('Company User');
			$this->txtCompanyUser->Text = $this->objTableUserProfile->CompanyUser;
			$this->txtCompanyUser->Required = true;
			$this->txtCompanyUser->MaxLength = TableUserProfile::CompanyUserMaxLength;
			return $this->txtCompanyUser;
		}

		/**
		 * Create and setup QLabel lblCompanyUser
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblCompanyUser_Create($strControlId = null) {
			$this->lblCompanyUser = new QLabel($this->objParentObject, $strControlId);
			$this->lblCompanyUser->Name = QApplication::Translate('Company User');
			$this->lblCompanyUser->Text = $this->objTableUserProfile->CompanyUser;
			$this->lblCompanyUser->Required = true;
			return $this->lblCompanyUser;
		}

		/**
		 * Create and setup QTextBox txtCatchPhrase
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtCatchPhrase_Create($strControlId = null) {
			$this->txtCatchPhrase = new QTextBox($this->objParentObject, $strControlId);
			$this->txtCatchPhrase->Name = QApplication::Translate('Catch Phrase');
			$this->txtCatchPhrase->Text = $this->objTableUserProfile->CatchPhrase;
			$this->txtCatchPhrase->MaxLength = TableUserProfile::CatchPhraseMaxLength;
			return $this->txtCatchPhrase;
		}

		/**
		 * Create and setup QLabel lblCatchPhrase
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblCatchPhrase_Create($strControlId = null) {
			$this->lblCatchPhrase = new QLabel($this->objParentObject, $strControlId);
			$this->lblCatchPhrase->Name = QApplication::Translate('Catch Phrase');
			$this->lblCatchPhrase->Text = $this->objTableUserProfile->CatchPhrase;
			return $this->lblCatchPhrase;
		}

		/**
		 * Create and setup QTextBox txtLanguageDescription
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtLanguageDescription_Create($strControlId = null) {
			$this->txtLanguageDescription = new QTextBox($this->objParentObject, $strControlId);
			$this->txtLanguageDescription->Name = QApplication::Translate('Language Description');
			$this->txtLanguageDescription->Text = $this->objTableUserProfile->LanguageDescription;
			$this->txtLanguageDescription->TextMode = QTextMode::MultiLine;
			return $this->txtLanguageDescription;
		}

		/**
		 * Create and setup QLabel lblLanguageDescription
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblLanguageDescription_Create($strControlId = null) {
			$this->lblLanguageDescription = new QLabel($this->objParentObject, $strControlId);
			$this->lblLanguageDescription->Name = QApplication::Translate('Language Description');
			$this->lblLanguageDescription->Text = $this->objTableUserProfile->LanguageDescription;
			return $this->lblLanguageDescription;
		}

		/**
		 * Create and setup QTextBox txtKeywordDescription
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtKeywordDescription_Create($strControlId = null) {
			$this->txtKeywordDescription = new QTextBox($this->objParentObject, $strControlId);
			$this->txtKeywordDescription->Name = QApplication::Translate('Keyword Description');
			$this->txtKeywordDescription->Text = $this->objTableUserProfile->KeywordDescription;
			$this->txtKeywordDescription->TextMode = QTextMode::MultiLine;
			return $this->txtKeywordDescription;
		}

		/**
		 * Create and setup QLabel lblKeywordDescription
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblKeywordDescription_Create($strControlId = null) {
			$this->lblKeywordDescription = new QLabel($this->objParentObject, $strControlId);
			$this->lblKeywordDescription->Name = QApplication::Translate('Keyword Description');
			$this->lblKeywordDescription->Text = $this->objTableUserProfile->KeywordDescription;
			return $this->lblKeywordDescription;
		}

		/**
		 * Create and setup QTextBox txtMessage
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtMessage_Create($strControlId = null) {
			$this->txtMessage = new QTextBox($this->objParentObject, $strControlId);
			$this->txtMessage->Name = QApplication::Translate('Message');
			$this->txtMessage->Text = $this->objTableUserProfile->Message;
			$this->txtMessage->TextMode = QTextMode::MultiLine;
			return $this->txtMessage;
		}

		/**
		 * Create and setup QLabel lblMessage
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblMessage_Create($strControlId = null) {
			$this->lblMessage = new QLabel($this->objParentObject, $strControlId);
			$this->lblMessage->Name = QApplication::Translate('Message');
			$this->lblMessage->Text = $this->objTableUserProfile->Message;
			return $this->lblMessage;
		}

		/**
		 * Create and setup QTextBox txtLocation
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtLocation_Create($strControlId = null) {
			$this->txtLocation = new QTextBox($this->objParentObject, $strControlId);
			$this->txtLocation->Name = QApplication::Translate('Location');
			$this->txtLocation->Text = $this->objTableUserProfile->Location;
			$this->txtLocation->MaxLength = TableUserProfile::LocationMaxLength;
			return $this->txtLocation;
		}

		/**
		 * Create and setup QLabel lblLocation
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblLocation_Create($strControlId = null) {
			$this->lblLocation = new QLabel($this->objParentObject, $strControlId);
			$this->lblLocation->Name = QApplication::Translate('Location');
			$this->lblLocation->Text = $this->objTableUserProfile->Location;
			return $this->lblLocation;
		}

		/**
		 * Create and setup QIntegerTextBox txtCustomerCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtCustomerCount_Create($strControlId = null) {
			$this->txtCustomerCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtCustomerCount->Name = QApplication::Translate('Customer Count');
			$this->txtCustomerCount->Text = $this->objTableUserProfile->CustomerCount;
			$this->txtCustomerCount->Required = true;
			return $this->txtCustomerCount;
		}

		/**
		 * Create and setup QLabel lblCustomerCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblCustomerCount_Create($strControlId = null, $strFormat = null) {
			$this->lblCustomerCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblCustomerCount->Name = QApplication::Translate('Customer Count');
			$this->lblCustomerCount->Text = $this->objTableUserProfile->CustomerCount;
			$this->lblCustomerCount->Required = true;
			$this->lblCustomerCount->Format = $strFormat;
			return $this->lblCustomerCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtRepeaterCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtRepeaterCount_Create($strControlId = null) {
			$this->txtRepeaterCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtRepeaterCount->Name = QApplication::Translate('Repeater Count');
			$this->txtRepeaterCount->Text = $this->objTableUserProfile->RepeaterCount;
			$this->txtRepeaterCount->Required = true;
			return $this->txtRepeaterCount;
		}

		/**
		 * Create and setup QLabel lblRepeaterCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblRepeaterCount_Create($strControlId = null, $strFormat = null) {
			$this->lblRepeaterCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblRepeaterCount->Name = QApplication::Translate('Repeater Count');
			$this->lblRepeaterCount->Text = $this->objTableUserProfile->RepeaterCount;
			$this->lblRepeaterCount->Required = true;
			$this->lblRepeaterCount->Format = $strFormat;
			return $this->lblRepeaterCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtWonProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtWonProjectCount_Create($strControlId = null) {
			$this->txtWonProjectCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtWonProjectCount->Name = QApplication::Translate('Won Project Count');
			$this->txtWonProjectCount->Text = $this->objTableUserProfile->WonProjectCount;
			$this->txtWonProjectCount->Required = true;
			return $this->txtWonProjectCount;
		}

		/**
		 * Create and setup QLabel lblWonProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblWonProjectCount_Create($strControlId = null, $strFormat = null) {
			$this->lblWonProjectCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblWonProjectCount->Name = QApplication::Translate('Won Project Count');
			$this->lblWonProjectCount->Text = $this->objTableUserProfile->WonProjectCount;
			$this->lblWonProjectCount->Required = true;
			$this->lblWonProjectCount->Format = $strFormat;
			return $this->lblWonProjectCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtCompletedWonProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtCompletedWonProjectCount_Create($strControlId = null) {
			$this->txtCompletedWonProjectCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtCompletedWonProjectCount->Name = QApplication::Translate('Completed Won Project Count');
			$this->txtCompletedWonProjectCount->Text = $this->objTableUserProfile->CompletedWonProjectCount;
			$this->txtCompletedWonProjectCount->Required = true;
			return $this->txtCompletedWonProjectCount;
		}

		/**
		 * Create and setup QLabel lblCompletedWonProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblCompletedWonProjectCount_Create($strControlId = null, $strFormat = null) {
			$this->lblCompletedWonProjectCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblCompletedWonProjectCount->Name = QApplication::Translate('Completed Won Project Count');
			$this->lblCompletedWonProjectCount->Text = $this->objTableUserProfile->CompletedWonProjectCount;
			$this->lblCompletedWonProjectCount->Required = true;
			$this->lblCompletedWonProjectCount->Format = $strFormat;
			return $this->lblCompletedWonProjectCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtFailedWonProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtFailedWonProjectCount_Create($strControlId = null) {
			$this->txtFailedWonProjectCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtFailedWonProjectCount->Name = QApplication::Translate('Failed Won Project Count');
			$this->txtFailedWonProjectCount->Text = $this->objTableUserProfile->FailedWonProjectCount;
			$this->txtFailedWonProjectCount->Required = true;
			return $this->txtFailedWonProjectCount;
		}

		/**
		 * Create and setup QLabel lblFailedWonProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblFailedWonProjectCount_Create($strControlId = null, $strFormat = null) {
			$this->lblFailedWonProjectCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblFailedWonProjectCount->Name = QApplication::Translate('Failed Won Project Count');
			$this->lblFailedWonProjectCount->Text = $this->objTableUserProfile->FailedWonProjectCount;
			$this->lblFailedWonProjectCount->Required = true;
			$this->lblFailedWonProjectCount->Format = $strFormat;
			return $this->lblFailedWonProjectCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtPostProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtPostProjectCount_Create($strControlId = null) {
			$this->txtPostProjectCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtPostProjectCount->Name = QApplication::Translate('Post Project Count');
			$this->txtPostProjectCount->Text = $this->objTableUserProfile->PostProjectCount;
			$this->txtPostProjectCount->Required = true;
			return $this->txtPostProjectCount;
		}

		/**
		 * Create and setup QLabel lblPostProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblPostProjectCount_Create($strControlId = null, $strFormat = null) {
			$this->lblPostProjectCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblPostProjectCount->Name = QApplication::Translate('Post Project Count');
			$this->lblPostProjectCount->Text = $this->objTableUserProfile->PostProjectCount;
			$this->lblPostProjectCount->Required = true;
			$this->lblPostProjectCount->Format = $strFormat;
			return $this->lblPostProjectCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtCompletedPostProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtCompletedPostProjectCount_Create($strControlId = null) {
			$this->txtCompletedPostProjectCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtCompletedPostProjectCount->Name = QApplication::Translate('Completed Post Project Count');
			$this->txtCompletedPostProjectCount->Text = $this->objTableUserProfile->CompletedPostProjectCount;
			$this->txtCompletedPostProjectCount->Required = true;
			return $this->txtCompletedPostProjectCount;
		}

		/**
		 * Create and setup QLabel lblCompletedPostProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblCompletedPostProjectCount_Create($strControlId = null, $strFormat = null) {
			$this->lblCompletedPostProjectCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblCompletedPostProjectCount->Name = QApplication::Translate('Completed Post Project Count');
			$this->lblCompletedPostProjectCount->Text = $this->objTableUserProfile->CompletedPostProjectCount;
			$this->lblCompletedPostProjectCount->Required = true;
			$this->lblCompletedPostProjectCount->Format = $strFormat;
			return $this->lblCompletedPostProjectCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtFailedPostProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtFailedPostProjectCount_Create($strControlId = null) {
			$this->txtFailedPostProjectCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtFailedPostProjectCount->Name = QApplication::Translate('Failed Post Project Count');
			$this->txtFailedPostProjectCount->Text = $this->objTableUserProfile->FailedPostProjectCount;
			$this->txtFailedPostProjectCount->Required = true;
			return $this->txtFailedPostProjectCount;
		}

		/**
		 * Create and setup QLabel lblFailedPostProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblFailedPostProjectCount_Create($strControlId = null, $strFormat = null) {
			$this->lblFailedPostProjectCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblFailedPostProjectCount->Name = QApplication::Translate('Failed Post Project Count');
			$this->lblFailedPostProjectCount->Text = $this->objTableUserProfile->FailedPostProjectCount;
			$this->lblFailedPostProjectCount->Required = true;
			$this->lblFailedPostProjectCount->Format = $strFormat;
			return $this->lblFailedPostProjectCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtBidProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtBidProjectCount_Create($strControlId = null) {
			$this->txtBidProjectCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtBidProjectCount->Name = QApplication::Translate('Bid Project Count');
			$this->txtBidProjectCount->Text = $this->objTableUserProfile->BidProjectCount;
			$this->txtBidProjectCount->Required = true;
			return $this->txtBidProjectCount;
		}

		/**
		 * Create and setup QLabel lblBidProjectCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblBidProjectCount_Create($strControlId = null, $strFormat = null) {
			$this->lblBidProjectCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblBidProjectCount->Name = QApplication::Translate('Bid Project Count');
			$this->lblBidProjectCount->Text = $this->objTableUserProfile->BidProjectCount;
			$this->lblBidProjectCount->Required = true;
			$this->lblBidProjectCount->Format = $strFormat;
			return $this->lblBidProjectCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtBidProjectCountThisMonth
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtBidProjectCountThisMonth_Create($strControlId = null) {
			$this->txtBidProjectCountThisMonth = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtBidProjectCountThisMonth->Name = QApplication::Translate('Bid Project Count This Month');
			$this->txtBidProjectCountThisMonth->Text = $this->objTableUserProfile->BidProjectCountThisMonth;
			$this->txtBidProjectCountThisMonth->Required = true;
			return $this->txtBidProjectCountThisMonth;
		}

		/**
		 * Create and setup QLabel lblBidProjectCountThisMonth
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblBidProjectCountThisMonth_Create($strControlId = null, $strFormat = null) {
			$this->lblBidProjectCountThisMonth = new QLabel($this->objParentObject, $strControlId);
			$this->lblBidProjectCountThisMonth->Name = QApplication::Translate('Bid Project Count This Month');
			$this->lblBidProjectCountThisMonth->Text = $this->objTableUserProfile->BidProjectCountThisMonth;
			$this->lblBidProjectCountThisMonth->Required = true;
			$this->lblBidProjectCountThisMonth->Format = $strFormat;
			return $this->lblBidProjectCountThisMonth;
		}

		/**
		 * Create and setup QIntegerTextBox txtWonProjectReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtWonProjectReviewCount_Create($strControlId = null) {
			$this->txtWonProjectReviewCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtWonProjectReviewCount->Name = QApplication::Translate('Won Project Review Count');
			$this->txtWonProjectReviewCount->Text = $this->objTableUserProfile->WonProjectReviewCount;
			$this->txtWonProjectReviewCount->Required = true;
			return $this->txtWonProjectReviewCount;
		}

		/**
		 * Create and setup QLabel lblWonProjectReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblWonProjectReviewCount_Create($strControlId = null, $strFormat = null) {
			$this->lblWonProjectReviewCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblWonProjectReviewCount->Name = QApplication::Translate('Won Project Review Count');
			$this->lblWonProjectReviewCount->Text = $this->objTableUserProfile->WonProjectReviewCount;
			$this->lblWonProjectReviewCount->Required = true;
			$this->lblWonProjectReviewCount->Format = $strFormat;
			return $this->lblWonProjectReviewCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtWonProjectPositiveReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtWonProjectPositiveReviewCount_Create($strControlId = null) {
			$this->txtWonProjectPositiveReviewCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtWonProjectPositiveReviewCount->Name = QApplication::Translate('Won Project Positive Review Count');
			$this->txtWonProjectPositiveReviewCount->Text = $this->objTableUserProfile->WonProjectPositiveReviewCount;
			$this->txtWonProjectPositiveReviewCount->Required = true;
			return $this->txtWonProjectPositiveReviewCount;
		}

		/**
		 * Create and setup QLabel lblWonProjectPositiveReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblWonProjectPositiveReviewCount_Create($strControlId = null, $strFormat = null) {
			$this->lblWonProjectPositiveReviewCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblWonProjectPositiveReviewCount->Name = QApplication::Translate('Won Project Positive Review Count');
			$this->lblWonProjectPositiveReviewCount->Text = $this->objTableUserProfile->WonProjectPositiveReviewCount;
			$this->lblWonProjectPositiveReviewCount->Required = true;
			$this->lblWonProjectPositiveReviewCount->Format = $strFormat;
			return $this->lblWonProjectPositiveReviewCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtWonProjectNeutralReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtWonProjectNeutralReviewCount_Create($strControlId = null) {
			$this->txtWonProjectNeutralReviewCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtWonProjectNeutralReviewCount->Name = QApplication::Translate('Won Project Neutral Review Count');
			$this->txtWonProjectNeutralReviewCount->Text = $this->objTableUserProfile->WonProjectNeutralReviewCount;
			$this->txtWonProjectNeutralReviewCount->Required = true;
			return $this->txtWonProjectNeutralReviewCount;
		}

		/**
		 * Create and setup QLabel lblWonProjectNeutralReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblWonProjectNeutralReviewCount_Create($strControlId = null, $strFormat = null) {
			$this->lblWonProjectNeutralReviewCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblWonProjectNeutralReviewCount->Name = QApplication::Translate('Won Project Neutral Review Count');
			$this->lblWonProjectNeutralReviewCount->Text = $this->objTableUserProfile->WonProjectNeutralReviewCount;
			$this->lblWonProjectNeutralReviewCount->Required = true;
			$this->lblWonProjectNeutralReviewCount->Format = $strFormat;
			return $this->lblWonProjectNeutralReviewCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtWonProjectNegativeReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtWonProjectNegativeReviewCount_Create($strControlId = null) {
			$this->txtWonProjectNegativeReviewCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtWonProjectNegativeReviewCount->Name = QApplication::Translate('Won Project Negative Review Count');
			$this->txtWonProjectNegativeReviewCount->Text = $this->objTableUserProfile->WonProjectNegativeReviewCount;
			$this->txtWonProjectNegativeReviewCount->Required = true;
			return $this->txtWonProjectNegativeReviewCount;
		}

		/**
		 * Create and setup QLabel lblWonProjectNegativeReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblWonProjectNegativeReviewCount_Create($strControlId = null, $strFormat = null) {
			$this->lblWonProjectNegativeReviewCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblWonProjectNegativeReviewCount->Name = QApplication::Translate('Won Project Negative Review Count');
			$this->lblWonProjectNegativeReviewCount->Text = $this->objTableUserProfile->WonProjectNegativeReviewCount;
			$this->lblWonProjectNegativeReviewCount->Required = true;
			$this->lblWonProjectNegativeReviewCount->Format = $strFormat;
			return $this->lblWonProjectNegativeReviewCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtPostProjectReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtPostProjectReviewCount_Create($strControlId = null) {
			$this->txtPostProjectReviewCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtPostProjectReviewCount->Name = QApplication::Translate('Post Project Review Count');
			$this->txtPostProjectReviewCount->Text = $this->objTableUserProfile->PostProjectReviewCount;
			$this->txtPostProjectReviewCount->Required = true;
			return $this->txtPostProjectReviewCount;
		}

		/**
		 * Create and setup QLabel lblPostProjectReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblPostProjectReviewCount_Create($strControlId = null, $strFormat = null) {
			$this->lblPostProjectReviewCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblPostProjectReviewCount->Name = QApplication::Translate('Post Project Review Count');
			$this->lblPostProjectReviewCount->Text = $this->objTableUserProfile->PostProjectReviewCount;
			$this->lblPostProjectReviewCount->Required = true;
			$this->lblPostProjectReviewCount->Format = $strFormat;
			return $this->lblPostProjectReviewCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtPostProjectPositiveReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtPostProjectPositiveReviewCount_Create($strControlId = null) {
			$this->txtPostProjectPositiveReviewCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtPostProjectPositiveReviewCount->Name = QApplication::Translate('Post Project Positive Review Count');
			$this->txtPostProjectPositiveReviewCount->Text = $this->objTableUserProfile->PostProjectPositiveReviewCount;
			$this->txtPostProjectPositiveReviewCount->Required = true;
			return $this->txtPostProjectPositiveReviewCount;
		}

		/**
		 * Create and setup QLabel lblPostProjectPositiveReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblPostProjectPositiveReviewCount_Create($strControlId = null, $strFormat = null) {
			$this->lblPostProjectPositiveReviewCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblPostProjectPositiveReviewCount->Name = QApplication::Translate('Post Project Positive Review Count');
			$this->lblPostProjectPositiveReviewCount->Text = $this->objTableUserProfile->PostProjectPositiveReviewCount;
			$this->lblPostProjectPositiveReviewCount->Required = true;
			$this->lblPostProjectPositiveReviewCount->Format = $strFormat;
			return $this->lblPostProjectPositiveReviewCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtPostProjectNeutralReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtPostProjectNeutralReviewCount_Create($strControlId = null) {
			$this->txtPostProjectNeutralReviewCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtPostProjectNeutralReviewCount->Name = QApplication::Translate('Post Project Neutral Review Count');
			$this->txtPostProjectNeutralReviewCount->Text = $this->objTableUserProfile->PostProjectNeutralReviewCount;
			$this->txtPostProjectNeutralReviewCount->Required = true;
			return $this->txtPostProjectNeutralReviewCount;
		}

		/**
		 * Create and setup QLabel lblPostProjectNeutralReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblPostProjectNeutralReviewCount_Create($strControlId = null, $strFormat = null) {
			$this->lblPostProjectNeutralReviewCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblPostProjectNeutralReviewCount->Name = QApplication::Translate('Post Project Neutral Review Count');
			$this->lblPostProjectNeutralReviewCount->Text = $this->objTableUserProfile->PostProjectNeutralReviewCount;
			$this->lblPostProjectNeutralReviewCount->Required = true;
			$this->lblPostProjectNeutralReviewCount->Format = $strFormat;
			return $this->lblPostProjectNeutralReviewCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtPostProjectNegativeReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtPostProjectNegativeReviewCount_Create($strControlId = null) {
			$this->txtPostProjectNegativeReviewCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtPostProjectNegativeReviewCount->Name = QApplication::Translate('Post Project Negative Review Count');
			$this->txtPostProjectNegativeReviewCount->Text = $this->objTableUserProfile->PostProjectNegativeReviewCount;
			$this->txtPostProjectNegativeReviewCount->Required = true;
			return $this->txtPostProjectNegativeReviewCount;
		}

		/**
		 * Create and setup QLabel lblPostProjectNegativeReviewCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblPostProjectNegativeReviewCount_Create($strControlId = null, $strFormat = null) {
			$this->lblPostProjectNegativeReviewCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblPostProjectNegativeReviewCount->Name = QApplication::Translate('Post Project Negative Review Count');
			$this->lblPostProjectNegativeReviewCount->Text = $this->objTableUserProfile->PostProjectNegativeReviewCount;
			$this->lblPostProjectNegativeReviewCount->Required = true;
			$this->lblPostProjectNegativeReviewCount->Format = $strFormat;
			return $this->lblPostProjectNegativeReviewCount;
		}

		/**
		 * Create and setup QIntegerTextBox txtSuspendCount
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtSuspendCount_Create($strControlId = null) {
			$this->txtSuspendCount = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtSuspendCount->Name = QApplication::Translate('Suspend Count');
			$this->txtSuspendCount->Text = $this->objTableUserProfile->SuspendCount;
			$this->txtSuspendCount->Required = true;
			return $this->txtSuspendCount;
		}

		/**
		 * Create and setup QLabel lblSuspendCount
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblSuspendCount_Create($strControlId = null, $strFormat = null) {
			$this->lblSuspendCount = new QLabel($this->objParentObject, $strControlId);
			$this->lblSuspendCount->Name = QApplication::Translate('Suspend Count');
			$this->lblSuspendCount->Text = $this->objTableUserProfile->SuspendCount;
			$this->lblSuspendCount->Required = true;
			$this->lblSuspendCount->Format = $strFormat;
			return $this->lblSuspendCount;
		}

		/**
		 * Create and setup QTextBox txtPaypalEmail
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtPaypalEmail_Create($strControlId = null) {
			$this->txtPaypalEmail = new QTextBox($this->objParentObject, $strControlId);
			$this->txtPaypalEmail->Name = QApplication::Translate('Paypal Email');
			$this->txtPaypalEmail->Text = $this->objTableUserProfile->PaypalEmail;
			$this->txtPaypalEmail->Required = true;
			$this->txtPaypalEmail->MaxLength = TableUserProfile::PaypalEmailMaxLength;
			return $this->txtPaypalEmail;
		}

		/**
		 * Create and setup QLabel lblPaypalEmail
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblPaypalEmail_Create($strControlId = null) {
			$this->lblPaypalEmail = new QLabel($this->objParentObject, $strControlId);
			$this->lblPaypalEmail->Name = QApplication::Translate('Paypal Email');
			$this->lblPaypalEmail->Text = $this->objTableUserProfile->PaypalEmail;
			$this->lblPaypalEmail->Required = true;
			return $this->lblPaypalEmail;
		}

		/**
		 * Create and setup QTextBox txtLimitedIp
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtLimitedIp_Create($strControlId = null) {
			$this->txtLimitedIp = new QTextBox($this->objParentObject, $strControlId);
			$this->txtLimitedIp->Name = QApplication::Translate('Limited Ip');
			$this->txtLimitedIp->Text = $this->objTableUserProfile->LimitedIp;
			$this->txtLimitedIp->TextMode = QTextMode::MultiLine;
			return $this->txtLimitedIp;
		}

		/**
		 * Create and setup QLabel lblLimitedIp
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblLimitedIp_Create($strControlId = null) {
			$this->lblLimitedIp = new QLabel($this->objParentObject, $strControlId);
			$this->lblLimitedIp->Name = QApplication::Translate('Limited Ip');
			$this->lblLimitedIp->Text = $this->objTableUserProfile->LimitedIp;
			return $this->lblLimitedIp;
		}

		/**
		 * Create and setup QDateTimePicker calUpdateDate
		 * @param string $strControlId optional ControlId to use
		 * @return QDateTimePicker
		 */
		public function calUpdateDate_Create($strControlId = null) {
			$this->calUpdateDate = new QDateTimePicker($this->objParentObject, $strControlId);
			$this->calUpdateDate->Name = QApplication::Translate('Update Date');
			$this->calUpdateDate->DateTime = $this->objTableUserProfile->UpdateDate;
			$this->calUpdateDate->DateTimePickerType = QDateTimePickerType::DateTime;
			return $this->calUpdateDate;
		}

		/**
		 * Create and setup QLabel lblUpdateDate
		 * @param string $strControlId optional ControlId to use
		 * @param string $strDateTimeFormat optional DateTimeFormat to use
		 * @return QLabel
		 */
		public function lblUpdateDate_Create($strControlId = null, $strDateTimeFormat = null) {
			$this->lblUpdateDate = new QLabel($this->objParentObject, $strControlId);
			$this->lblUpdateDate->Name = QApplication::Translate('Update Date');
			$this->strUpdateDateDateTimeFormat = $strDateTimeFormat;
			$this->lblUpdateDate->Text = sprintf($this->objTableUserProfile->UpdateDate) ? $this->objTableUserProfile->UpdateDate->__toString($this->strUpdateDateDateTimeFormat) : null;
			return $this->lblUpdateDate;
		}

		protected $strUpdateDateDateTimeFormat;


		/**
		 * Create and setup QTextBox txtVision
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtVision_Create($strControlId = null) {
			$this->txtVision = new QTextBox($this->objParentObject, $strControlId);
			$this->txtVision->Name = QApplication::Translate('Vision');
			$this->txtVision->Text = $this->objTableUserProfile->Vision;
			$this->txtVision->TextMode = QTextMode::MultiLine;
			return $this->txtVision;
		}

		/**
		 * Create and setup QLabel lblVision
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblVision_Create($strControlId = null) {
			$this->lblVision = new QLabel($this->objParentObject, $strControlId);
			$this->lblVision->Name = QApplication::Translate('Vision');
			$this->lblVision->Text = $this->objTableUserProfile->Vision;
			return $this->lblVision;
		}

		/**
		 * Create and setup QTextBox txtAreaOfExpertise
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtAreaOfExpertise_Create($strControlId = null) {
			$this->txtAreaOfExpertise = new QTextBox($this->objParentObject, $strControlId);
			$this->txtAreaOfExpertise->Name = QApplication::Translate('Area Of Expertise');
			$this->txtAreaOfExpertise->Text = $this->objTableUserProfile->AreaOfExpertise;
			$this->txtAreaOfExpertise->TextMode = QTextMode::MultiLine;
			return $this->txtAreaOfExpertise;
		}

		/**
		 * Create and setup QLabel lblAreaOfExpertise
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblAreaOfExpertise_Create($strControlId = null) {
			$this->lblAreaOfExpertise = new QLabel($this->objParentObject, $strControlId);
			$this->lblAreaOfExpertise->Name = QApplication::Translate('Area Of Expertise');
			$this->lblAreaOfExpertise->Text = $this->objTableUserProfile->AreaOfExpertise;
			return $this->lblAreaOfExpertise;
		}

		/**
		 * Create and setup QFloatTextBox txtCompletionRatio
		 * @param string $strControlId optional ControlId to use
		 * @return QFloatTextBox
		 */
		public function txtCompletionRatio_Create($strControlId = null) {
			$this->txtCompletionRatio = new QFloatTextBox($this->objParentObject, $strControlId);
			$this->txtCompletionRatio->Name = QApplication::Translate('Completion Ratio');
			$this->txtCompletionRatio->Text = $this->objTableUserProfile->CompletionRatio;
			$this->txtCompletionRatio->Required = true;
			return $this->txtCompletionRatio;
		}

		/**
		 * Create and setup QLabel lblCompletionRatio
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblCompletionRatio_Create($strControlId = null, $strFormat = null) {
			$this->lblCompletionRatio = new QLabel($this->objParentObject, $strControlId);
			$this->lblCompletionRatio->Name = QApplication::Translate('Completion Ratio');
			$this->lblCompletionRatio->Text = $this->objTableUserProfile->CompletionRatio;
			$this->lblCompletionRatio->Required = true;
			$this->lblCompletionRatio->Format = $strFormat;
			return $this->lblCompletionRatio;
		}

		/**
		 * Create and setup QFloatTextBox txtBudgetPaidRatio
		 * @param string $strControlId optional ControlId to use
		 * @return QFloatTextBox
		 */
		public function txtBudgetPaidRatio_Create($strControlId = null) {
			$this->txtBudgetPaidRatio = new QFloatTextBox($this->objParentObject, $strControlId);
			$this->txtBudgetPaidRatio->Name = QApplication::Translate('Budget Paid Ratio');
			$this->txtBudgetPaidRatio->Text = $this->objTableUserProfile->BudgetPaidRatio;
			$this->txtBudgetPaidRatio->Required = true;
			return $this->txtBudgetPaidRatio;
		}

		/**
		 * Create and setup QLabel lblBudgetPaidRatio
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblBudgetPaidRatio_Create($strControlId = null, $strFormat = null) {
			$this->lblBudgetPaidRatio = new QLabel($this->objParentObject, $strControlId);
			$this->lblBudgetPaidRatio->Name = QApplication::Translate('Budget Paid Ratio');
			$this->lblBudgetPaidRatio->Text = $this->objTableUserProfile->BudgetPaidRatio;
			$this->lblBudgetPaidRatio->Required = true;
			$this->lblBudgetPaidRatio->Format = $strFormat;
			return $this->lblBudgetPaidRatio;
		}

		/**
		 * Create and setup QIntegerTextBox txtPaginationNumber
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtPaginationNumber_Create($strControlId = null) {
			$this->txtPaginationNumber = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtPaginationNumber->Name = QApplication::Translate('Pagination Number');
			$this->txtPaginationNumber->Text = $this->objTableUserProfile->PaginationNumber;
			$this->txtPaginationNumber->Required = true;
			return $this->txtPaginationNumber;
		}

		/**
		 * Create and setup QLabel lblPaginationNumber
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblPaginationNumber_Create($strControlId = null, $strFormat = null) {
			$this->lblPaginationNumber = new QLabel($this->objParentObject, $strControlId);
			$this->lblPaginationNumber->Name = QApplication::Translate('Pagination Number');
			$this->lblPaginationNumber->Text = $this->objTableUserProfile->PaginationNumber;
			$this->lblPaginationNumber->Required = true;
			$this->lblPaginationNumber->Format = $strFormat;
			return $this->lblPaginationNumber;
		}

		/**
		 * Create and setup QIntegerTextBox txtLandingPage
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtLandingPage_Create($strControlId = null) {
			$this->txtLandingPage = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtLandingPage->Name = QApplication::Translate('Landing Page');
			$this->txtLandingPage->Text = $this->objTableUserProfile->LandingPage;
			return $this->txtLandingPage;
		}

		/**
		 * Create and setup QLabel lblLandingPage
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblLandingPage_Create($strControlId = null, $strFormat = null) {
			$this->lblLandingPage = new QLabel($this->objParentObject, $strControlId);
			$this->lblLandingPage->Name = QApplication::Translate('Landing Page');
			$this->lblLandingPage->Text = $this->objTableUserProfile->LandingPage;
			$this->lblLandingPage->Format = $strFormat;
			return $this->lblLandingPage;
		}



		/**
		 * Refresh this MetaControl with Data from the local TableUserProfile object.
		 * @param boolean $blnReload reload TableUserProfile from the database
		 * @return void
		 */
		public function Refresh($blnReload = false) {
			if ($blnReload)
				$this->objTableUserProfile->Reload();

			if ($this->lblId) if ($this->blnEditMode) $this->lblId->Text = $this->objTableUserProfile->Id;

			if ($this->lstUser) {
					$this->lstUser->RemoveAllItems();
				if (!$this->blnEditMode)
					$this->lstUser->AddItem(QApplication::Translate('- Select One -'), null);
				$objUserArray = TableUserProject::LoadAll();
				if ($objUserArray) foreach ($objUserArray as $objUser) {
					$objListItem = new QListItem($objUser->__toString(), $objUser->Id);
					if (($this->objTableUserProfile->User) && ($this->objTableUserProfile->User->Id == $objUser->Id))
						$objListItem->Selected = true;
					$this->lstUser->AddItem($objListItem);
				}
			}
			if ($this->lblUserId) $this->lblUserId->Text = ($this->objTableUserProfile->User) ? $this->objTableUserProfile->User->__toString() : null;

			if ($this->txtCompanyUser) $this->txtCompanyUser->Text = $this->objTableUserProfile->CompanyUser;
			if ($this->lblCompanyUser) $this->lblCompanyUser->Text = $this->objTableUserProfile->CompanyUser;

			if ($this->txtCatchPhrase) $this->txtCatchPhrase->Text = $this->objTableUserProfile->CatchPhrase;
			if ($this->lblCatchPhrase) $this->lblCatchPhrase->Text = $this->objTableUserProfile->CatchPhrase;

			if ($this->txtLanguageDescription) $this->txtLanguageDescription->Text = $this->objTableUserProfile->LanguageDescription;
			if ($this->lblLanguageDescription) $this->lblLanguageDescription->Text = $this->objTableUserProfile->LanguageDescription;

			if ($this->txtKeywordDescription) $this->txtKeywordDescription->Text = $this->objTableUserProfile->KeywordDescription;
			if ($this->lblKeywordDescription) $this->lblKeywordDescription->Text = $this->objTableUserProfile->KeywordDescription;

			if ($this->txtMessage) $this->txtMessage->Text = $this->objTableUserProfile->Message;
			if ($this->lblMessage) $this->lblMessage->Text = $this->objTableUserProfile->Message;

			if ($this->txtLocation) $this->txtLocation->Text = $this->objTableUserProfile->Location;
			if ($this->lblLocation) $this->lblLocation->Text = $this->objTableUserProfile->Location;

			if ($this->txtCustomerCount) $this->txtCustomerCount->Text = $this->objTableUserProfile->CustomerCount;
			if ($this->lblCustomerCount) $this->lblCustomerCount->Text = $this->objTableUserProfile->CustomerCount;

			if ($this->txtRepeaterCount) $this->txtRepeaterCount->Text = $this->objTableUserProfile->RepeaterCount;
			if ($this->lblRepeaterCount) $this->lblRepeaterCount->Text = $this->objTableUserProfile->RepeaterCount;

			if ($this->txtWonProjectCount) $this->txtWonProjectCount->Text = $this->objTableUserProfile->WonProjectCount;
			if ($this->lblWonProjectCount) $this->lblWonProjectCount->Text = $this->objTableUserProfile->WonProjectCount;

			if ($this->txtCompletedWonProjectCount) $this->txtCompletedWonProjectCount->Text = $this->objTableUserProfile->CompletedWonProjectCount;
			if ($this->lblCompletedWonProjectCount) $this->lblCompletedWonProjectCount->Text = $this->objTableUserProfile->CompletedWonProjectCount;

			if ($this->txtFailedWonProjectCount) $this->txtFailedWonProjectCount->Text = $this->objTableUserProfile->FailedWonProjectCount;
			if ($this->lblFailedWonProjectCount) $this->lblFailedWonProjectCount->Text = $this->objTableUserProfile->FailedWonProjectCount;

			if ($this->txtPostProjectCount) $this->txtPostProjectCount->Text = $this->objTableUserProfile->PostProjectCount;
			if ($this->lblPostProjectCount) $this->lblPostProjectCount->Text = $this->objTableUserProfile->PostProjectCount;

			if ($this->txtCompletedPostProjectCount) $this->txtCompletedPostProjectCount->Text = $this->objTableUserProfile->CompletedPostProjectCount;
			if ($this->lblCompletedPostProjectCount) $this->lblCompletedPostProjectCount->Text = $this->objTableUserProfile->CompletedPostProjectCount;

			if ($this->txtFailedPostProjectCount) $this->txtFailedPostProjectCount->Text = $this->objTableUserProfile->FailedPostProjectCount;
			if ($this->lblFailedPostProjectCount) $this->lblFailedPostProjectCount->Text = $this->objTableUserProfile->FailedPostProjectCount;

			if ($this->txtBidProjectCount) $this->txtBidProjectCount->Text = $this->objTableUserProfile->BidProjectCount;
			if ($this->lblBidProjectCount) $this->lblBidProjectCount->Text = $this->objTableUserProfile->BidProjectCount;

			if ($this->txtBidProjectCountThisMonth) $this->txtBidProjectCountThisMonth->Text = $this->objTableUserProfile->BidProjectCountThisMonth;
			if ($this->lblBidProjectCountThisMonth) $this->lblBidProjectCountThisMonth->Text = $this->objTableUserProfile->BidProjectCountThisMonth;

			if ($this->txtWonProjectReviewCount) $this->txtWonProjectReviewCount->Text = $this->objTableUserProfile->WonProjectReviewCount;
			if ($this->lblWonProjectReviewCount) $this->lblWonProjectReviewCount->Text = $this->objTableUserProfile->WonProjectReviewCount;

			if ($this->txtWonProjectPositiveReviewCount) $this->txtWonProjectPositiveReviewCount->Text = $this->objTableUserProfile->WonProjectPositiveReviewCount;
			if ($this->lblWonProjectPositiveReviewCount) $this->lblWonProjectPositiveReviewCount->Text = $this->objTableUserProfile->WonProjectPositiveReviewCount;

			if ($this->txtWonProjectNeutralReviewCount) $this->txtWonProjectNeutralReviewCount->Text = $this->objTableUserProfile->WonProjectNeutralReviewCount;
			if ($this->lblWonProjectNeutralReviewCount) $this->lblWonProjectNeutralReviewCount->Text = $this->objTableUserProfile->WonProjectNeutralReviewCount;

			if ($this->txtWonProjectNegativeReviewCount) $this->txtWonProjectNegativeReviewCount->Text = $this->objTableUserProfile->WonProjectNegativeReviewCount;
			if ($this->lblWonProjectNegativeReviewCount) $this->lblWonProjectNegativeReviewCount->Text = $this->objTableUserProfile->WonProjectNegativeReviewCount;

			if ($this->txtPostProjectReviewCount) $this->txtPostProjectReviewCount->Text = $this->objTableUserProfile->PostProjectReviewCount;
			if ($this->lblPostProjectReviewCount) $this->lblPostProjectReviewCount->Text = $this->objTableUserProfile->PostProjectReviewCount;

			if ($this->txtPostProjectPositiveReviewCount) $this->txtPostProjectPositiveReviewCount->Text = $this->objTableUserProfile->PostProjectPositiveReviewCount;
			if ($this->lblPostProjectPositiveReviewCount) $this->lblPostProjectPositiveReviewCount->Text = $this->objTableUserProfile->PostProjectPositiveReviewCount;

			if ($this->txtPostProjectNeutralReviewCount) $this->txtPostProjectNeutralReviewCount->Text = $this->objTableUserProfile->PostProjectNeutralReviewCount;
			if ($this->lblPostProjectNeutralReviewCount) $this->lblPostProjectNeutralReviewCount->Text = $this->objTableUserProfile->PostProjectNeutralReviewCount;

			if ($this->txtPostProjectNegativeReviewCount) $this->txtPostProjectNegativeReviewCount->Text = $this->objTableUserProfile->PostProjectNegativeReviewCount;
			if ($this->lblPostProjectNegativeReviewCount) $this->lblPostProjectNegativeReviewCount->Text = $this->objTableUserProfile->PostProjectNegativeReviewCount;

			if ($this->txtSuspendCount) $this->txtSuspendCount->Text = $this->objTableUserProfile->SuspendCount;
			if ($this->lblSuspendCount) $this->lblSuspendCount->Text = $this->objTableUserProfile->SuspendCount;

			if ($this->txtPaypalEmail) $this->txtPaypalEmail->Text = $this->objTableUserProfile->PaypalEmail;
			if ($this->lblPaypalEmail) $this->lblPaypalEmail->Text = $this->objTableUserProfile->PaypalEmail;

			if ($this->txtLimitedIp) $this->txtLimitedIp->Text = $this->objTableUserProfile->LimitedIp;
			if ($this->lblLimitedIp) $this->lblLimitedIp->Text = $this->objTableUserProfile->LimitedIp;

			if ($this->calUpdateDate) $this->calUpdateDate->DateTime = $this->objTableUserProfile->UpdateDate;
			if ($this->lblUpdateDate) $this->lblUpdateDate->Text = sprintf($this->objTableUserProfile->UpdateDate) ? $this->objTableUserProfile->UpdateDate->__toString($this->strUpdateDateDateTimeFormat) : null;

			if ($this->txtVision) $this->txtVision->Text = $this->objTableUserProfile->Vision;
			if ($this->lblVision) $this->lblVision->Text = $this->objTableUserProfile->Vision;

			if ($this->txtAreaOfExpertise) $this->txtAreaOfExpertise->Text = $this->objTableUserProfile->AreaOfExpertise;
			if ($this->lblAreaOfExpertise) $this->lblAreaOfExpertise->Text = $this->objTableUserProfile->AreaOfExpertise;

			if ($this->txtCompletionRatio) $this->txtCompletionRatio->Text = $this->objTableUserProfile->CompletionRatio;
			if ($this->lblCompletionRatio) $this->lblCompletionRatio->Text = $this->objTableUserProfile->CompletionRatio;

			if ($this->txtBudgetPaidRatio) $this->txtBudgetPaidRatio->Text = $this->objTableUserProfile->BudgetPaidRatio;
			if ($this->lblBudgetPaidRatio) $this->lblBudgetPaidRatio->Text = $this->objTableUserProfile->BudgetPaidRatio;

			if ($this->txtPaginationNumber) $this->txtPaginationNumber->Text = $this->objTableUserProfile->PaginationNumber;
			if ($this->lblPaginationNumber) $this->lblPaginationNumber->Text = $this->objTableUserProfile->PaginationNumber;

			if ($this->txtLandingPage) $this->txtLandingPage->Text = $this->objTableUserProfile->LandingPage;
			if ($this->lblLandingPage) $this->lblLandingPage->Text = $this->objTableUserProfile->LandingPage;

		}



		///////////////////////////////////////////////
		// PROTECTED UPDATE METHODS for ManyToManyReferences (if any)
		///////////////////////////////////////////////





		///////////////////////////////////////////////
		// PUBLIC TABLEUSERPROFILE OBJECT MANIPULATORS
		///////////////////////////////////////////////

		/**
		 * This will save this object's TableUserProfile instance,
		 * updating only the fields which have had a control created for it.
		 */
		public function SaveTableUserProfile() {
			try {
				// Update any fields for controls that have been created
				if ($this->lstUser) $this->objTableUserProfile->UserId = $this->lstUser->SelectedValue;
				if ($this->txtCompanyUser) $this->objTableUserProfile->CompanyUser = $this->txtCompanyUser->Text;
				if ($this->txtCatchPhrase) $this->objTableUserProfile->CatchPhrase = $this->txtCatchPhrase->Text;
				if ($this->txtLanguageDescription) $this->objTableUserProfile->LanguageDescription = $this->txtLanguageDescription->Text;
				if ($this->txtKeywordDescription) $this->objTableUserProfile->KeywordDescription = $this->txtKeywordDescription->Text;
				if ($this->txtMessage) $this->objTableUserProfile->Message = $this->txtMessage->Text;
				if ($this->txtLocation) $this->objTableUserProfile->Location = $this->txtLocation->Text;
				if ($this->txtCustomerCount) $this->objTableUserProfile->CustomerCount = $this->txtCustomerCount->Text;
				if ($this->txtRepeaterCount) $this->objTableUserProfile->RepeaterCount = $this->txtRepeaterCount->Text;
				if ($this->txtWonProjectCount) $this->objTableUserProfile->WonProjectCount = $this->txtWonProjectCount->Text;
				if ($this->txtCompletedWonProjectCount) $this->objTableUserProfile->CompletedWonProjectCount = $this->txtCompletedWonProjectCount->Text;
				if ($this->txtFailedWonProjectCount) $this->objTableUserProfile->FailedWonProjectCount = $this->txtFailedWonProjectCount->Text;
				if ($this->txtPostProjectCount) $this->objTableUserProfile->PostProjectCount = $this->txtPostProjectCount->Text;
				if ($this->txtCompletedPostProjectCount) $this->objTableUserProfile->CompletedPostProjectCount = $this->txtCompletedPostProjectCount->Text;
				if ($this->txtFailedPostProjectCount) $this->objTableUserProfile->FailedPostProjectCount = $this->txtFailedPostProjectCount->Text;
				if ($this->txtBidProjectCount) $this->objTableUserProfile->BidProjectCount = $this->txtBidProjectCount->Text;
				if ($this->txtBidProjectCountThisMonth) $this->objTableUserProfile->BidProjectCountThisMonth = $this->txtBidProjectCountThisMonth->Text;
				if ($this->txtWonProjectReviewCount) $this->objTableUserProfile->WonProjectReviewCount = $this->txtWonProjectReviewCount->Text;
				if ($this->txtWonProjectPositiveReviewCount) $this->objTableUserProfile->WonProjectPositiveReviewCount = $this->txtWonProjectPositiveReviewCount->Text;
				if ($this->txtWonProjectNeutralReviewCount) $this->objTableUserProfile->WonProjectNeutralReviewCount = $this->txtWonProjectNeutralReviewCount->Text;
				if ($this->txtWonProjectNegativeReviewCount) $this->objTableUserProfile->WonProjectNegativeReviewCount = $this->txtWonProjectNegativeReviewCount->Text;
				if ($this->txtPostProjectReviewCount) $this->objTableUserProfile->PostProjectReviewCount = $this->txtPostProjectReviewCount->Text;
				if ($this->txtPostProjectPositiveReviewCount) $this->objTableUserProfile->PostProjectPositiveReviewCount = $this->txtPostProjectPositiveReviewCount->Text;
				if ($this->txtPostProjectNeutralReviewCount) $this->objTableUserProfile->PostProjectNeutralReviewCount = $this->txtPostProjectNeutralReviewCount->Text;
				if ($this->txtPostProjectNegativeReviewCount) $this->objTableUserProfile->PostProjectNegativeReviewCount = $this->txtPostProjectNegativeReviewCount->Text;
				if ($this->txtSuspendCount) $this->objTableUserProfile->SuspendCount = $this->txtSuspendCount->Text;
				if ($this->txtPaypalEmail) $this->objTableUserProfile->PaypalEmail = $this->txtPaypalEmail->Text;
				if ($this->txtLimitedIp) $this->objTableUserProfile->LimitedIp = $this->txtLimitedIp->Text;
				if ($this->calUpdateDate) $this->objTableUserProfile->UpdateDate = $this->calUpdateDate->DateTime;
				if ($this->txtVision) $this->objTableUserProfile->Vision = $this->txtVision->Text;
				if ($this->txtAreaOfExpertise) $this->objTableUserProfile->AreaOfExpertise = $this->txtAreaOfExpertise->Text;
				if ($this->txtCompletionRatio) $this->objTableUserProfile->CompletionRatio = $this->txtCompletionRatio->Text;
				if ($this->txtBudgetPaidRatio) $this->objTableUserProfile->BudgetPaidRatio = $this->txtBudgetPaidRatio->Text;
				if ($this->txtPaginationNumber) $this->objTableUserProfile->PaginationNumber = $this->txtPaginationNumber->Text;
				if ($this->txtLandingPage) $this->objTableUserProfile->LandingPage = $this->txtLandingPage->Text;

				// Update any UniqueReverseReferences (if any) for controls that have been created for it

				// Save the TableUserProfile object
				$this->objTableUserProfile->Save();

				// Finally, update any ManyToManyReferences (if any)
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}

		/**
		 * This will DELETE this object's TableUserProfile instance from the database.
		 * It will also unassociate itself from any ManyToManyReferences.
		 */
		public function DeleteTableUserProfile() {
			$this->objTableUserProfile->Delete();
		}		



		///////////////////////////////////////////////
		// PUBLIC GETTERS and SETTERS
		///////////////////////////////////////////////

		/**
		 * Override method to perform a property "Get"
		 * This will get the value of $strName
		 *
		 * @param string $strName Name of the property to get
		 * @return mixed
		 */
		public function __get($strName) {
			switch ($strName) {
				// General MetaControlVariables
				case 'TableUserProfile': return $this->objTableUserProfile;
				case 'TitleVerb': return $this->strTitleVerb;
				case 'EditMode': return $this->blnEditMode;

				// Controls that point to TableUserProfile fields -- will be created dynamically if not yet created
				case 'IdControl':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'IdLabel':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'UserIdControl':
					if (!$this->lstUser) return $this->lstUser_Create();
					return $this->lstUser;
				case 'UserIdLabel':
					if (!$this->lblUserId) return $this->lblUserId_Create();
					return $this->lblUserId;
				case 'CompanyUserControl':
					if (!$this->txtCompanyUser) return $this->txtCompanyUser_Create();
					return $this->txtCompanyUser;
				case 'CompanyUserLabel':
					if (!$this->lblCompanyUser) return $this->lblCompanyUser_Create();
					return $this->lblCompanyUser;
				case 'CatchPhraseControl':
					if (!$this->txtCatchPhrase) return $this->txtCatchPhrase_Create();
					return $this->txtCatchPhrase;
				case 'CatchPhraseLabel':
					if (!$this->lblCatchPhrase) return $this->lblCatchPhrase_Create();
					return $this->lblCatchPhrase;
				case 'LanguageDescriptionControl':
					if (!$this->txtLanguageDescription) return $this->txtLanguageDescription_Create();
					return $this->txtLanguageDescription;
				case 'LanguageDescriptionLabel':
					if (!$this->lblLanguageDescription) return $this->lblLanguageDescription_Create();
					return $this->lblLanguageDescription;
				case 'KeywordDescriptionControl':
					if (!$this->txtKeywordDescription) return $this->txtKeywordDescription_Create();
					return $this->txtKeywordDescription;
				case 'KeywordDescriptionLabel':
					if (!$this->lblKeywordDescription) return $this->lblKeywordDescription_Create();
					return $this->lblKeywordDescription;
				case 'MessageControl':
					if (!$this->txtMessage) return $this->txtMessage_Create();
					return $this->txtMessage;
				case 'MessageLabel':
					if (!$this->lblMessage) return $this->lblMessage_Create();
					return $this->lblMessage;
				case 'LocationControl':
					if (!$this->txtLocation) return $this->txtLocation_Create();
					return $this->txtLocation;
				case 'LocationLabel':
					if (!$this->lblLocation) return $this->lblLocation_Create();
					return $this->lblLocation;
				case 'CustomerCountControl':
					if (!$this->txtCustomerCount) return $this->txtCustomerCount_Create();
					return $this->txtCustomerCount;
				case 'CustomerCountLabel':
					if (!$this->lblCustomerCount) return $this->lblCustomerCount_Create();
					return $this->lblCustomerCount;
				case 'RepeaterCountControl':
					if (!$this->txtRepeaterCount) return $this->txtRepeaterCount_Create();
					return $this->txtRepeaterCount;
				case 'RepeaterCountLabel':
					if (!$this->lblRepeaterCount) return $this->lblRepeaterCount_Create();
					return $this->lblRepeaterCount;
				case 'WonProjectCountControl':
					if (!$this->txtWonProjectCount) return $this->txtWonProjectCount_Create();
					return $this->txtWonProjectCount;
				case 'WonProjectCountLabel':
					if (!$this->lblWonProjectCount) return $this->lblWonProjectCount_Create();
					return $this->lblWonProjectCount;
				case 'CompletedWonProjectCountControl':
					if (!$this->txtCompletedWonProjectCount) return $this->txtCompletedWonProjectCount_Create();
					return $this->txtCompletedWonProjectCount;
				case 'CompletedWonProjectCountLabel':
					if (!$this->lblCompletedWonProjectCount) return $this->lblCompletedWonProjectCount_Create();
					return $this->lblCompletedWonProjectCount;
				case 'FailedWonProjectCountControl':
					if (!$this->txtFailedWonProjectCount) return $this->txtFailedWonProjectCount_Create();
					return $this->txtFailedWonProjectCount;
				case 'FailedWonProjectCountLabel':
					if (!$this->lblFailedWonProjectCount) return $this->lblFailedWonProjectCount_Create();
					return $this->lblFailedWonProjectCount;
				case 'PostProjectCountControl':
					if (!$this->txtPostProjectCount) return $this->txtPostProjectCount_Create();
					return $this->txtPostProjectCount;
				case 'PostProjectCountLabel':
					if (!$this->lblPostProjectCount) return $this->lblPostProjectCount_Create();
					return $this->lblPostProjectCount;
				case 'CompletedPostProjectCountControl':
					if (!$this->txtCompletedPostProjectCount) return $this->txtCompletedPostProjectCount_Create();
					return $this->txtCompletedPostProjectCount;
				case 'CompletedPostProjectCountLabel':
					if (!$this->lblCompletedPostProjectCount) return $this->lblCompletedPostProjectCount_Create();
					return $this->lblCompletedPostProjectCount;
				case 'FailedPostProjectCountControl':
					if (!$this->txtFailedPostProjectCount) return $this->txtFailedPostProjectCount_Create();
					return $this->txtFailedPostProjectCount;
				case 'FailedPostProjectCountLabel':
					if (!$this->lblFailedPostProjectCount) return $this->lblFailedPostProjectCount_Create();
					return $this->lblFailedPostProjectCount;
				case 'BidProjectCountControl':
					if (!$this->txtBidProjectCount) return $this->txtBidProjectCount_Create();
					return $this->txtBidProjectCount;
				case 'BidProjectCountLabel':
					if (!$this->lblBidProjectCount) return $this->lblBidProjectCount_Create();
					return $this->lblBidProjectCount;
				case 'BidProjectCountThisMonthControl':
					if (!$this->txtBidProjectCountThisMonth) return $this->txtBidProjectCountThisMonth_Create();
					return $this->txtBidProjectCountThisMonth;
				case 'BidProjectCountThisMonthLabel':
					if (!$this->lblBidProjectCountThisMonth) return $this->lblBidProjectCountThisMonth_Create();
					return $this->lblBidProjectCountThisMonth;
				case 'WonProjectReviewCountControl':
					if (!$this->txtWonProjectReviewCount) return $this->txtWonProjectReviewCount_Create();
					return $this->txtWonProjectReviewCount;
				case 'WonProjectReviewCountLabel':
					if (!$this->lblWonProjectReviewCount) return $this->lblWonProjectReviewCount_Create();
					return $this->lblWonProjectReviewCount;
				case 'WonProjectPositiveReviewCountControl':
					if (!$this->txtWonProjectPositiveReviewCount) return $this->txtWonProjectPositiveReviewCount_Create();
					return $this->txtWonProjectPositiveReviewCount;
				case 'WonProjectPositiveReviewCountLabel':
					if (!$this->lblWonProjectPositiveReviewCount) return $this->lblWonProjectPositiveReviewCount_Create();
					return $this->lblWonProjectPositiveReviewCount;
				case 'WonProjectNeutralReviewCountControl':
					if (!$this->txtWonProjectNeutralReviewCount) return $this->txtWonProjectNeutralReviewCount_Create();
					return $this->txtWonProjectNeutralReviewCount;
				case 'WonProjectNeutralReviewCountLabel':
					if (!$this->lblWonProjectNeutralReviewCount) return $this->lblWonProjectNeutralReviewCount_Create();
					return $this->lblWonProjectNeutralReviewCount;
				case 'WonProjectNegativeReviewCountControl':
					if (!$this->txtWonProjectNegativeReviewCount) return $this->txtWonProjectNegativeReviewCount_Create();
					return $this->txtWonProjectNegativeReviewCount;
				case 'WonProjectNegativeReviewCountLabel':
					if (!$this->lblWonProjectNegativeReviewCount) return $this->lblWonProjectNegativeReviewCount_Create();
					return $this->lblWonProjectNegativeReviewCount;
				case 'PostProjectReviewCountControl':
					if (!$this->txtPostProjectReviewCount) return $this->txtPostProjectReviewCount_Create();
					return $this->txtPostProjectReviewCount;
				case 'PostProjectReviewCountLabel':
					if (!$this->lblPostProjectReviewCount) return $this->lblPostProjectReviewCount_Create();
					return $this->lblPostProjectReviewCount;
				case 'PostProjectPositiveReviewCountControl':
					if (!$this->txtPostProjectPositiveReviewCount) return $this->txtPostProjectPositiveReviewCount_Create();
					return $this->txtPostProjectPositiveReviewCount;
				case 'PostProjectPositiveReviewCountLabel':
					if (!$this->lblPostProjectPositiveReviewCount) return $this->lblPostProjectPositiveReviewCount_Create();
					return $this->lblPostProjectPositiveReviewCount;
				case 'PostProjectNeutralReviewCountControl':
					if (!$this->txtPostProjectNeutralReviewCount) return $this->txtPostProjectNeutralReviewCount_Create();
					return $this->txtPostProjectNeutralReviewCount;
				case 'PostProjectNeutralReviewCountLabel':
					if (!$this->lblPostProjectNeutralReviewCount) return $this->lblPostProjectNeutralReviewCount_Create();
					return $this->lblPostProjectNeutralReviewCount;
				case 'PostProjectNegativeReviewCountControl':
					if (!$this->txtPostProjectNegativeReviewCount) return $this->txtPostProjectNegativeReviewCount_Create();
					return $this->txtPostProjectNegativeReviewCount;
				case 'PostProjectNegativeReviewCountLabel':
					if (!$this->lblPostProjectNegativeReviewCount) return $this->lblPostProjectNegativeReviewCount_Create();
					return $this->lblPostProjectNegativeReviewCount;
				case 'SuspendCountControl':
					if (!$this->txtSuspendCount) return $this->txtSuspendCount_Create();
					return $this->txtSuspendCount;
				case 'SuspendCountLabel':
					if (!$this->lblSuspendCount) return $this->lblSuspendCount_Create();
					return $this->lblSuspendCount;
				case 'PaypalEmailControl':
					if (!$this->txtPaypalEmail) return $this->txtPaypalEmail_Create();
					return $this->txtPaypalEmail;
				case 'PaypalEmailLabel':
					if (!$this->lblPaypalEmail) return $this->lblPaypalEmail_Create();
					return $this->lblPaypalEmail;
				case 'LimitedIpControl':
					if (!$this->txtLimitedIp) return $this->txtLimitedIp_Create();
					return $this->txtLimitedIp;
				case 'LimitedIpLabel':
					if (!$this->lblLimitedIp) return $this->lblLimitedIp_Create();
					return $this->lblLimitedIp;
				case 'UpdateDateControl':
					if (!$this->calUpdateDate) return $this->calUpdateDate_Create();
					return $this->calUpdateDate;
				case 'UpdateDateLabel':
					if (!$this->lblUpdateDate) return $this->lblUpdateDate_Create();
					return $this->lblUpdateDate;
				case 'VisionControl':
					if (!$this->txtVision) return $this->txtVision_Create();
					return $this->txtVision;
				case 'VisionLabel':
					if (!$this->lblVision) return $this->lblVision_Create();
					return $this->lblVision;
				case 'AreaOfExpertiseControl':
					if (!$this->txtAreaOfExpertise) return $this->txtAreaOfExpertise_Create();
					return $this->txtAreaOfExpertise;
				case 'AreaOfExpertiseLabel':
					if (!$this->lblAreaOfExpertise) return $this->lblAreaOfExpertise_Create();
					return $this->lblAreaOfExpertise;
				case 'CompletionRatioControl':
					if (!$this->txtCompletionRatio) return $this->txtCompletionRatio_Create();
					return $this->txtCompletionRatio;
				case 'CompletionRatioLabel':
					if (!$this->lblCompletionRatio) return $this->lblCompletionRatio_Create();
					return $this->lblCompletionRatio;
				case 'BudgetPaidRatioControl':
					if (!$this->txtBudgetPaidRatio) return $this->txtBudgetPaidRatio_Create();
					return $this->txtBudgetPaidRatio;
				case 'BudgetPaidRatioLabel':
					if (!$this->lblBudgetPaidRatio) return $this->lblBudgetPaidRatio_Create();
					return $this->lblBudgetPaidRatio;
				case 'PaginationNumberControl':
					if (!$this->txtPaginationNumber) return $this->txtPaginationNumber_Create();
					return $this->txtPaginationNumber;
				case 'PaginationNumberLabel':
					if (!$this->lblPaginationNumber) return $this->lblPaginationNumber_Create();
					return $this->lblPaginationNumber;
				case 'LandingPageControl':
					if (!$this->txtLandingPage) return $this->txtLandingPage_Create();
					return $this->txtLandingPage;
				case 'LandingPageLabel':
					if (!$this->lblLandingPage) return $this->lblLandingPage_Create();
					return $this->lblLandingPage;
				default:
					try {
						return parent::__get($strName);
					} catch (QCallerException $objExc) {
						$objExc->IncrementOffset();
						throw $objExc;
					}
			}
		}

		/**
		 * Override method to perform a property "Set"
		 * This will set the property $strName to be $mixValue
		 *
		 * @param string $strName Name of the property to set
		 * @param string $mixValue New value of the property
		 * @return mixed
		 */
		public function __set($strName, $mixValue) {
			try {
				switch ($strName) {
					// Controls that point to TableUserProfile fields
					case 'IdControl':
						return ($this->lblId = QType::Cast($mixValue, 'QControl'));
					case 'UserIdControl':
						return ($this->lstUser = QType::Cast($mixValue, 'QControl'));
					case 'CompanyUserControl':
						return ($this->txtCompanyUser = QType::Cast($mixValue, 'QControl'));
					case 'CatchPhraseControl':
						return ($this->txtCatchPhrase = QType::Cast($mixValue, 'QControl'));
					case 'LanguageDescriptionControl':
						return ($this->txtLanguageDescription = QType::Cast($mixValue, 'QControl'));
					case 'KeywordDescriptionControl':
						return ($this->txtKeywordDescription = QType::Cast($mixValue, 'QControl'));
					case 'MessageControl':
						return ($this->txtMessage = QType::Cast($mixValue, 'QControl'));
					case 'LocationControl':
						return ($this->txtLocation = QType::Cast($mixValue, 'QControl'));
					case 'CustomerCountControl':
						return ($this->txtCustomerCount = QType::Cast($mixValue, 'QControl'));
					case 'RepeaterCountControl':
						return ($this->txtRepeaterCount = QType::Cast($mixValue, 'QControl'));
					case 'WonProjectCountControl':
						return ($this->txtWonProjectCount = QType::Cast($mixValue, 'QControl'));
					case 'CompletedWonProjectCountControl':
						return ($this->txtCompletedWonProjectCount = QType::Cast($mixValue, 'QControl'));
					case 'FailedWonProjectCountControl':
						return ($this->txtFailedWonProjectCount = QType::Cast($mixValue, 'QControl'));
					case 'PostProjectCountControl':
						return ($this->txtPostProjectCount = QType::Cast($mixValue, 'QControl'));
					case 'CompletedPostProjectCountControl':
						return ($this->txtCompletedPostProjectCount = QType::Cast($mixValue, 'QControl'));
					case 'FailedPostProjectCountControl':
						return ($this->txtFailedPostProjectCount = QType::Cast($mixValue, 'QControl'));
					case 'BidProjectCountControl':
						return ($this->txtBidProjectCount = QType::Cast($mixValue, 'QControl'));
					case 'BidProjectCountThisMonthControl':
						return ($this->txtBidProjectCountThisMonth = QType::Cast($mixValue, 'QControl'));
					case 'WonProjectReviewCountControl':
						return ($this->txtWonProjectReviewCount = QType::Cast($mixValue, 'QControl'));
					case 'WonProjectPositiveReviewCountControl':
						return ($this->txtWonProjectPositiveReviewCount = QType::Cast($mixValue, 'QControl'));
					case 'WonProjectNeutralReviewCountControl':
						return ($this->txtWonProjectNeutralReviewCount = QType::Cast($mixValue, 'QControl'));
					case 'WonProjectNegativeReviewCountControl':
						return ($this->txtWonProjectNegativeReviewCount = QType::Cast($mixValue, 'QControl'));
					case 'PostProjectReviewCountControl':
						return ($this->txtPostProjectReviewCount = QType::Cast($mixValue, 'QControl'));
					case 'PostProjectPositiveReviewCountControl':
						return ($this->txtPostProjectPositiveReviewCount = QType::Cast($mixValue, 'QControl'));
					case 'PostProjectNeutralReviewCountControl':
						return ($this->txtPostProjectNeutralReviewCount = QType::Cast($mixValue, 'QControl'));
					case 'PostProjectNegativeReviewCountControl':
						return ($this->txtPostProjectNegativeReviewCount = QType::Cast($mixValue, 'QControl'));
					case 'SuspendCountControl':
						return ($this->txtSuspendCount = QType::Cast($mixValue, 'QControl'));
					case 'PaypalEmailControl':
						return ($this->txtPaypalEmail = QType::Cast($mixValue, 'QControl'));
					case 'LimitedIpControl':
						return ($this->txtLimitedIp = QType::Cast($mixValue, 'QControl'));
					case 'UpdateDateControl':
						return ($this->calUpdateDate = QType::Cast($mixValue, 'QControl'));
					case 'VisionControl':
						return ($this->txtVision = QType::Cast($mixValue, 'QControl'));
					case 'AreaOfExpertiseControl':
						return ($this->txtAreaOfExpertise = QType::Cast($mixValue, 'QControl'));
					case 'CompletionRatioControl':
						return ($this->txtCompletionRatio = QType::Cast($mixValue, 'QControl'));
					case 'BudgetPaidRatioControl':
						return ($this->txtBudgetPaidRatio = QType::Cast($mixValue, 'QControl'));
					case 'PaginationNumberControl':
						return ($this->txtPaginationNumber = QType::Cast($mixValue, 'QControl'));
					case 'LandingPageControl':
						return ($this->txtLandingPage = QType::Cast($mixValue, 'QControl'));
					default:
						return parent::__set($strName, $mixValue);
				}
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}
	}
?>